﻿#pragma once

#include "ISoundLibrary.h"
#include <string>
#include "../../../disposable_interface.h"

namespace Client::MirSounds
{
    class NullLibrary : public ISoundLibrary, public Disposable
    {
    private:
        int Index = 0;

    public:
        int getIndex() const override;
        void setIndex(int value) override;
        NullLibrary(int index, const std::string &fileName, bool loop);
        void Dispose() override;

        void Play() override;

        void SetVolume(int vol) override;

        void Stop() override;
    };
}
